#include <iostream>
#include <vector>

using namespace std;

void print_vector(vector<int> v)
{
	for (vector<int>::iterator it = v.begin(); it != v.end(); ++it)
		cout << *it << ' ';
	cout << endl;
}

int main()
{
	vector<int> first;
	vector<int> second(4, 100); // 4 ints with value 100
	vector<int> third(second.begin(), second.end());
	vector<int> fourth(third);

	int myints[] = { 12, 34, 56, 78 };
	vector<int> fifth(myints, myints + sizeof (myints) / sizeof (int));

	print_vector(first);
	print_vector(second);
	print_vector(third);
	print_vector(fourth);
	print_vector(fifth);

	return 0;
}

